﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.Infra.Tools.ServiceRegistration.Entity
{
    public class Module : EntityBase
    {
        #region Attributes

        private int? _module_id;
        private string _module_name;
        private string _module_initials;
        private List<SubModule> _sub_modules;

        #endregion

        #region Constructor

        public Module()
        {
            _sub_modules = new List<SubModule>();
        }

        #endregion

        #region Properties

        public int? ModuleId
        {
            get { return _module_id; }
            set { _module_id = value; }
        }

        public string ModuleName
        {
            get { return _module_name; }
            set { _module_name = value; }
        }

        public string ModuleInitials
        {
            get { return _module_initials; }
            set { _module_initials = value; }
        }

        public List<SubModule> SubModules
        {
            get { return _sub_modules; }
            set { _sub_modules = value; }
        }

        #endregion
    }
}
